using System;
using System.Collections.Generic;
using System.Text;
using Pixysoft.Weblications.Sango.Constant;
using Pixysoft.Weblications.Sango.Formular;

namespace Pixysoft.Weblications.Sango.Battle
{
    class StrategySkillAttackHandler : IStrategyHandler
    {
        public bool accept(long strategyTypeCode)
        {
            return CtiStrategyTypecodeCollection.STRATEGY_04_SKILLATTACK == strategyTypeCode;
        }


        public void adjustBattler(Entities.Usr_Strategy strategy, Battler battler)
        {
            battler.SkillAttackPointValue = (battler.SkillAttackPointValue + BattleFormular.GetBattlerPointValue(strategy.Strategyvalue));
        }

    }
}